package org.linlinjava.litemall.wx.util;

import org.apache.commons.lang3.StringUtils;

import javax.validation.ConstraintValidatorContext;

public class ContentValidateUtil {

    public static boolean isValid(String content) {

        if (StringUtils.isEmpty(content)) {
            return false;
        }

        if (content.contains("test")) {
            return false;
        }

        return true;
    }
}
